/**
 *    <SavedInterace interface>
 *   Copyright (C) 2011  Fernando Gil
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 *   The following additional terms will apply to the software provieded with
 *   this file.
 *      1. Preserve the original authors’ names.
 *      2. Documenting all contributions and specify the contributor's name,
 *         the date of the contribution and some email to future contact.
 *
 *   @author  Fernando Gil
 *   @mail    lobho.gil@gmail.com
 *   @company Development Solutions (DS) Software
 *   @date    05-09-2011
 *   @modify  15-09-2011
 *   @by      Fernando Gil
 *   @see     License GNU GPL v3  (/doc/GNU_GPLv3_EN)
 *   @see     Additional Terms    Point 7.1 on License (/doc/GNU_GPLv3_EN)
 *   @note   Replicate this header in all classes.
 *
 */
package org.dss.gil.interfaces;


public interface GenericFileInterface {

    /*
    private boolean boo_saved;
    private boolean boo_new;
    private boolean boo_modified;
    private String str_fileName;
    */

    /**
     *
     * @param Set the name of the file
     */
    public void setFileName(String name);

    /**
     *
     * @param Set the path
     */
    public void setPath(String name);
    
    /**
     *
     * @param Set true if the file is already boo_saved
     */
    public void setSaved(boolean saved);

    /**
     *
     * @param Set true if the file is already boo_saved
     */
    public void setNew(boolean isNew);
    /**
     *
     * @return Get true if the file is already boo_saved
     */
    public boolean isSaved();

    /**
     *
     * @return Get true if the file is already boo_saved
     */
    public boolean isNew();
    /**
     *
     * @return The file name
     */
    public String getFileName();

    /**
     *
     * @return The path
     */
    public String getAbsolutePath();

    /**
     *
     * @return The path
     */
    public String getPath();

}
